package com.b2c.product.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import static content.common.ValidMessage.*;

@Data
public class SpecGroupDto {
    /**
     * 品类编号
     */
    @NotNull(message = SPG_ID_NULL)
    private Integer spgId;

    /**
     * 品类名称
     */
    @NotBlank(message = SPG_NAME_NULL)
    private String name;

}
